<div class="ub ub-ac page-header">
    <a href="javascript:history.back();" class="clickable"><span class="icon-back"></span></a>
	<div class="ub-f1 page-name">个人中心</div>
	<a href="{:U('Index/index')}" class="clickable "><span class="ub-pc icon-back-home"></span></a>
</div>
<div class="banner-img">
	<img src="__IMAGES__/userbanner.jpg" alt="">
	<div class="user-info ub ub-ver ub-ac ub-pc ub-con">
		<img class="tx-cir" src="{$userInfo.uavatar}" alt="">
		<p class="cl-f-orange f16 ub ub-ac">{$userInfo.nickname}
		    <if condition="$userInfo.ifrz eq 1">
		    <span class="icon-daren"></span>
		    </if>
	    </p>
	</div>
</div>
<p class="ub cl-b-white banner-info">
	{$userInfo.usign}
</p>
<ul class="ub ub-ac cl-b-white user-num">
	<li class="ub-f1 clickable yf-addfans"><p class="cl-f-orange">{$userInfo.attentionnum|getNullNum}</p><p>关注</p></li>
	<li class="ub-f1 clickable href-js" data-url="{:U('Ucenter/fans')}?id={$userid}"><p class="cl-f-orange yf-fans">{$userInfo.fansnum|getNullNum}</p><p>粉丝</p></li>
	<li class="ub-f1 clickable"><p class="cl-f-orange">{$userInfo.upoint|getNullNum}</p><p>积分</p></li>
</ul>
<div class="tab-section user-tab-select ub row cl-b-white f14" style="margin-top: 10px;">
	<div class="ub-f1">
	   <if condition="$type eq 4">
	   	<a href="javascript:;" class="active cl-f-grey"><span class="user-tab-select-num">{$suipaiNum|getNullNum}</span>随手拍</a>
	   <else/>
	   <a href="{:U('Ucenter/index')}?id={$userid}" class="cl-f-grey"><span class="user-tab-select-num">{$suipaiNum|getNullNum}</span>随手拍</a>
	   </if>
    </div>
	<div class="ub-f1">
	   <if condition="$type eq 1">
	   	<a href="javascript:;" class="active cl-f-grey"><span class="user-tab-select-num">{$workNum|getNullNum}</span>食谱</a>
	   <else/>
	   <a href="{:U('Ucenter/index')}?id={$userid}&type=1" class="cl-f-grey"><span class="user-tab-select-num">{$workNum|getNullNum}</span>食谱</a>
	   </if>
    </div>
	<div class="ub-f1">
	   <if condition="$type eq 7">
	   	<a href="javascript:;" class="active cl-f-grey"><span class="user-tab-select-num">{$teachNum|getNullNum}</span>专栏</a>
	   <else/>
	   <a href="{:U('Ucenter/index')}?id={$userid}&type=7" class="cl-f-grey"><span class="user-tab-select-num">{$teachNum|getNullNum}</span>专栏</a>
	   </if>
    </div>
</div>
